package com.java.exer_6;

public enum Address {
    CHANG_AN("长安"), XIAO_ZHAI("小寨"), NAN_MEN("南门"), ZHONG_LOU("钟楼"), BEI_MEN("北门"),
    DONG_MEN("东门"), XI_MEN("西门"), DA_MING_GONG("大明宫"), DA_YAN_TA("大雁塔"), TU_MEN("土门");

    private String name;

    private Address(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }
}
